package com.example.gulimallmember.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 会员
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:51:23
 */

@TableName("ums_member")
public class MemberEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 会员等级id
	 */
	private Long levelId;
	/**
	 * 用户名
	 */
	private String username;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 昵称
	 */
	private String nickname;
	/**
	 * 手机号码
	 */
	private String mobile;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 头像
	 */
	private String header;
	/**
	 * 性别
	 */
	private Integer gender;
	/**
	 * 生日
	 */
	private Date birth;
	/**
	 * 所在城市
	 */
	private String city;
	/**
	 * 职业
	 */
	private String job;
	/**
	 * 个性签名
	 */
	private String sign;
	/**
	 * 用户来源
	 */
	private Integer sourceType;
	/**
	 * 积分
	 */
	private Integer integration;
	/**
	 * 成长值
	 */
	private Integer growth;
	/**
	 * 启用状态
	 */
	private Integer status;
	/**
	 * 注册时间
	 */
	private Date createTime;

	public MemberEntity() {
	}

	public MemberEntity( Long id, Long levelId, String username, String password, String nickname, String mobile, String email, String header, Integer gender, Date birth, String city, String job, String sign, Integer sourceType, Integer integration, Integer growth, Integer status, Date createTime) {
		this.id = id;
		this.levelId = levelId;
		this.username = username;
		this.password = password;
		this.nickname = nickname;
		this.mobile = mobile;
		this.email = email;
		this.header = header;
		this.gender = gender;
		this.birth = birth;
		this.city = city;
		this.job = job;
		this.sign = sign;
		this.sourceType = sourceType;
		this.integration = integration;
		this.growth = growth;
		this.status = status;
		this.createTime = createTime;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return levelId
	 */
	public Long getLevelId() {
		return levelId;
	}

	/**
	 * 设置
	 * @param levelId
	 */
	public void setLevelId(Long levelId) {
		this.levelId = levelId;
	}

	/**
	 * 获取
	 * @return username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * 设置
	 * @param username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * 获取
	 * @return password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * 设置
	 * @param password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * 获取
	 * @return nickname
	 */
	public String getNickname() {
		return nickname;
	}

	/**
	 * 设置
	 * @param nickname
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	/**
	 * 获取
	 * @return mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * 设置
	 * @param mobile
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取
	 * @return email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * 设置
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * 获取
	 * @return header
	 */
	public String getHeader() {
		return header;
	}

	/**
	 * 设置
	 * @param header
	 */
	public void setHeader(String header) {
		this.header = header;
	}

	/**
	 * 获取
	 * @return gender
	 */
	public Integer getGender() {
		return gender;
	}

	/**
	 * 设置
	 * @param gender
	 */
	public void setGender(Integer gender) {
		this.gender = gender;
	}

	/**
	 * 获取
	 * @return birth
	 */
	public Date getBirth() {
		return birth;
	}

	/**
	 * 设置
	 * @param birth
	 */
	public void setBirth(Date birth) {
		this.birth = birth;
	}

	/**
	 * 获取
	 * @return city
	 */
	public String getCity() {
		return city;
	}

	/**
	 * 设置
	 * @param city
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * 获取
	 * @return job
	 */
	public String getJob() {
		return job;
	}

	/**
	 * 设置
	 * @param job
	 */
	public void setJob(String job) {
		this.job = job;
	}

	/**
	 * 获取
	 * @return sign
	 */
	public String getSign() {
		return sign;
	}

	/**
	 * 设置
	 * @param sign
	 */
	public void setSign(String sign) {
		this.sign = sign;
	}

	/**
	 * 获取
	 * @return sourceType
	 */
	public Integer getSourceType() {
		return sourceType;
	}

	/**
	 * 设置
	 * @param sourceType
	 */
	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	/**
	 * 获取
	 * @return integration
	 */
	public Integer getIntegration() {
		return integration;
	}

	/**
	 * 设置
	 * @param integration
	 */
	public void setIntegration(Integer integration) {
		this.integration = integration;
	}

	/**
	 * 获取
	 * @return growth
	 */
	public Integer getGrowth() {
		return growth;
	}

	/**
	 * 设置
	 * @param growth
	 */
	public void setGrowth(Integer growth) {
		this.growth = growth;
	}

	/**
	 * 获取
	 * @return status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取
	 * @return createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String toString() {
		return "MemberEntity{serialVersionUID = " + serialVersionUID + ", id = " + id + ", levelId = " + levelId + ", username = " + username + ", password = " + password + ", nickname = " + nickname + ", mobile = " + mobile + ", email = " + email + ", header = " + header + ", gender = " + gender + ", birth = " + birth + ", city = " + city + ", job = " + job + ", sign = " + sign + ", sourceType = " + sourceType + ", integration = " + integration + ", growth = " + growth + ", status = " + status + ", createTime = " + createTime + "}";
	}
}
